﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Web.Controllers
{
    public class BarFunctionController : Controller
    {
        // GET: /Banner/
        public ActionResult Init()
        {
            return PartialView("_BarFunction");
        }

        public ActionResult Search(string search)
        {
        	if(search == "Fish")
        	  return Redirect("/ItemSelect/Products?Category=Fish");
        	if(search == "Koi")
        		return Redirect("/ItemSelect/Items?Product=Koi");
        	
        	return Redirect("/ItemSelect");
        }
        
        
    }
}
